GdkX11DragContext: Struct packing improvements
authorMatthias Clasen <mclasen@redhat.com>
Tue, 12 Apr 2011 14:37:51 +0000 (10:37 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 12 Apr 2011 16:13:55 +0000 (12:13 -0400)
gdk/x11/gdkdnd-x11.c

index fe9892a0f2941ac0d3c0836c81de016813fb4c77..80467fabdbce4cd3a6d5d5abf8baf4bd0cbe407f 100644 (file)
@@ -84,6 +84,9 @@ struct _GdkX11DragContext
   GdkDragAction old_action;    /* The last action we sent to the source */
   GdkDragAction old_actions;   /* The last actions we sent to the source */
   GdkDragAction xdnd_actions;  /* What is currently set in XdndActionList */
+  guint version;               /* Xdnd protocol version */
+
+  GSList *window_caches;
 
   Window dest_xid;             /* The last window we looked up */
   Window drop_xid;             /* The (non-proxied) window that is receiving drops */
@@ -92,11 +95,7 @@ struct _GdkX11DragContext
   guint xdnd_have_actions : 1; /* Whether an XdndActionList was provided */
   guint motif_targets_set : 1; /* Whether we've already set motif initiator info */
   guint drag_status       : 4; /* current status of drag */
-
   guint drop_failed       : 1; /* Whether the drop was unsuccessful */
-  guint version;               /* Xdnd protocol version */
-
-  GSList *window_caches;
 };
 
 struct _GdkX11DragContextClass